.class public final Lcom/wqmobile/sdk/protocol/c;
.super Ljava/util/Observable;


# static fields
.field private static c:Lcom/wqmobile/sdk/protocol/c;


# instance fields
.field private a:Lcom/wqmobile/sdk/protocol/d;

.field private b:Landroid/content/Context;


# direct methods
.method private constructor <init>()V
    .locals 1

    invoke-direct {p0}, Ljava/util/Observable;-><init>()V

    invoke-static {p0}, Lcom/wqmobile/sdk/protocol/d;->a(Lcom/wqmobile/sdk/protocol/c;)Lcom/wqmobile/sdk/protocol/d;

    move-result-object v0

    iput-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0, p0}, Lcom/wqmobile/sdk/protocol/d;->b(Lcom/wqmobile/sdk/protocol/c;)V

    return-void
.end method

.method private constructor <init>(Landroid/content/Context;)V
    .locals 0

    invoke-direct {p0}, Lcom/wqmobile/sdk/protocol/c;-><init>()V

    iput-object p1, p0, Lcom/wqmobile/sdk/protocol/c;->b:Landroid/content/Context;

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/wqmobile/sdk/protocol/c;
    .locals 1

    sget-object v0, Lcom/wqmobile/sdk/protocol/c;->c:Lcom/wqmobile/sdk/protocol/c;

    if-nez v0, :cond_0

    new-instance v0, Lcom/wqmobile/sdk/protocol/c;

    invoke-direct {v0, p0}, Lcom/wqmobile/sdk/protocol/c;-><init>(Landroid/content/Context;)V

    sput-object v0, Lcom/wqmobile/sdk/protocol/c;->c:Lcom/wqmobile/sdk/protocol/c;

    :cond_0
    sget-object v0, Lcom/wqmobile/sdk/protocol/c;->c:Lcom/wqmobile/sdk/protocol/c;

    return-object v0
.end method


# virtual methods
.method public final a()Ljava/lang/Boolean;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/protocol/d;->m()Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto :goto_0
.end method

.method public final a(I)V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/protocol/d;->a(I)V

    return-void
.end method

.method public final a(Lcom/wqmobile/sdk/protocol/a/a;)V
    .locals 0

    invoke-virtual {p0}, Lcom/wqmobile/sdk/protocol/c;->setChanged()V

    invoke-virtual {p0, p1}, Lcom/wqmobile/sdk/protocol/c;->notifyObservers(Ljava/lang/Object;)V

    return-void
.end method

.method public final a(Lcom/wqmobile/sdk/protocol/a/c;)V
    .locals 0

    invoke-virtual {p0}, Lcom/wqmobile/sdk/protocol/c;->setChanged()V

    invoke-virtual {p0, p1}, Lcom/wqmobile/sdk/protocol/c;->notifyObservers(Ljava/lang/Object;)V

    return-void
.end method

.method public final a(Ljava/lang/String;I)V
    .locals 2

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/wqmobile/sdk/protocol/d;->a(Ljava/lang/String;I)V

    return-void
.end method

.method public final a(Ljava/lang/String;Z)V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0, p1, p2}, Lcom/wqmobile/sdk/protocol/d;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method public final a(Ljava/lang/String;)Z
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/protocol/d;->a(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public final b()Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->b:Landroid/content/Context;

    return-object v0
.end method

.method public final b(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/protocol/d;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public final b(Ljava/lang/String;I)V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0, p1, p2}, Lcom/wqmobile/sdk/protocol/d;->b(Ljava/lang/String;I)V

    return-void
.end method

.method public final c(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/c;->a:Lcom/wqmobile/sdk/protocol/d;

    invoke-virtual {v0, p1}, Lcom/wqmobile/sdk/protocol/d;->c(Ljava/lang/String;)V

    return-void
.end method
